﻿using StarcraftTroopers.Abstractions;
using StarcraftTroopers.Units;
using System;
using System.Collections.Generic;
using System.Text;

namespace StarcraftTroopers.Troops
{
   public class TvZArmyFactory: IArmyFactory
    {
        public TvZArmyFactory()
        {
            Console.WriteLine("当前使用的战术可以应付TvZ。");
        }
        // 空中单位是科学球  
        public IAirUnit createAirUnit()
        {
            return new ScienceVessel();
        }
        // 主攻单位是枪兵  
        public IAttackUnit createAttackUnit()
        {
            return new Marine();
        }
        // 医疗单位是护士  
        public IMedicalUnit createMedicalUnit()
        {
            return new Medic();
        }
    }
}
